package com.leon.alishop.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.leon.alishop.model.GoodsSku;

public interface GoodsSkuDao {
	
	public GoodsSku selectById(Long id);

	public List<GoodsSku> selectByIds(Long[] ids);
	
	public List<GoodsSku> selectByGoodsIds(@Param("goodsIds")Long[] goodsIds);

	public int insertSelective(GoodsSku sku);

	public int updateByIdSelective(GoodsSku sku);

	public List<GoodsSku> selectByGoodsId(Long goodsId);
	
}
